package cn.com.wxd.common.data;

import java.io.Serializable;


/**
 * Title:用于储存一个键值对
 * Description:cn.com.wxd.util
 * 
 * Company: Amumu管理平台
 * Copyright: Copyright (c) 2015
 * All right reserved.
 * Created time: 2016-1-13 下午2:52:15
 *
 * @author WangXuDong
 * @version 1.0
 */
public class KeyValue<K,V> implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -7666204527208127470L;
	private K key;
	private V value;
	
	public KeyValue(){}
	public KeyValue(K k,V v){
		this.key=k;
		this.value =v;
	}
	
	public K getKey() {
		return key;
	}
	public void setKey(K key) {
		this.key = key;
	}
	public V getValue() {
		return value;
	}
	public void setValue(V value) {
		this.value = value;
	}
}
